<!DOCTYPE html>
<html lang="en">

	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width" />
		<meta name="renderer" content="webkit">
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<title>用户信息</title>
		<link rel="stylesheet" href="../../../assets/bootstrap/3.3.7/css/bootstrap.min.css">
		<link rel="stylesheet" href="../../../assets/bootstrap-table/bootstrap-table.min.css">
		<link rel="stylesheet" href="../../../assets/bootstrap-validator/css/bootstrapValidator.min.css" />
		<link rel="stylesheet" href="../../../assets/sco/css/sco.message.css" />
		<link rel="stylesheet" href="../../../assets/font-awesome/4.7/css/font-awesome.min.css">
		<link rel="stylesheet" href="../../../assets/font-awesome/3.2.1/css/font-awesome.min.css">
		<link rel="stylesheet" href="../../../assets/css/style.css">
	</head>

	<body>
		<div class="container-fluid" id="userList">
			<div class="row">
				<div class="panel panel-default">
					<div class="panel-body">
						<div class="form-group form-horizontal">
							<label class="control-label col-sm-2 col-xs-3" for="txt_search_departmentname">用户名</label>
							<div class="col-sm-4 col-xs-4">
								<input type="text" class="form-control" id="name">
							</div>
							<div class="col-sm-6 col-xs-4">
								<button type="button" id="btn_query" class="btn btn-primary btn-sm" data-bind="click:fnSearch"><i class="fa fa-search fa-lg"></i><span class="hidden-sm hidden-xs"> 查询</span></button>
							</div>
						</div>
					</div>
				</div>
			</div>
			<div class="row">
				<div class="col-sm-12">
					<div id="toolbar" class="btn-group">
						<button type="button" class="btn btn-default btn-sm" data-bind="click:fnAdd">
						<i class="fa fa-plus fa-lg" aria-hidden="true"></i><span class="hidden-sm hidden-xs"> 新增</span>
					</button>
						<button type="button" class="btn btn-default btn-sm" data-bind="click:fnRemove">
						<i class="fa fa-trash fa-lg" aria-hidden="true"></i><span class="hidden-sm hidden-xs"> 删除</span>
					</button>
						<button type="button" class="btn btn-default btn-sm" data-bind="click:fnEdit">
						<i class="fa fa-pencil-square-o fa-lg" aria-hidden="true"></i><span class="hidden-sm hidden-xs"> 编辑</span>
					</button>
						<button type="button" class="btn btn-default btn-sm" data-bind="click:fnView">
						<i class="fa fa-file-text fa-lg" aria-hidden="true"></i><span class="hidden-sm hidden-xs"> 查看</span>
					</button>
					</div>
				</div>
			</div>
			<div class="row">
				<div class="col-sm-12">
					<table id="tb_users"></table>
				</div>
			</div>
		</div>
		<!-- Modal -->
		<div id="userModal" class="modal fade" data-keyboard="false" data-backdrop="static" tabindex="-1" role="dialog" aria-hidden="true">
			<div class="modal-dialog" style="width: 400px" role="document">
				<div class="modal-content">
					<div class="modal-header" id="modalHeader">
						<span class="modal-title" data-bind="text:uv_title"></span>
					</div>
					<!-- body -->
					<div class="modal-body">
						<form class="form-horizontal" id="detailForm" autocomplete="off">
							<div class="form-group">
								<label for="userName" class="col-sm-3 control-label">用户名</label>
								<div class="col-sm-8">
									<input type="text" class="form-control" name="userName" id="userName" placeholder="*,必填" data-bind="value:uv_username,enable:uv_enabled" readonly onfocus="this.removeAttribute('readonly');">
								</div>
							</div>
							<div class="form-group">
								<label for="nickName" class="col-sm-3 control-label">用户昵称</label>
								<div class="col-sm-8">
									<input type="text" class="form-control" name="nickName" placeholder="*,必填" data-bind="value:uv_nickname,enable:uv_enabled" readonly onfocus="this.removeAttribute('readonly');">
								</div>
							</div>
							<div class="form-group">
								<label for="userPwd" class="col-sm-3 control-label">密码</label>
								<div class="col-sm-8">
									<input type="password" class="form-control" name="userPwd" placeholder="*,必填" data-bind="value:uv_password,enable:uv_enabled" readonly onfocus="this.removeAttribute('readonly');">
								</div>
							</div>
							<!-- 默认基本信息 -->
							<div style="display: none">
								<input type="text" data-bind="value:uv_userid"> <input type="text" data-bind="value:uv_editstatus"> <input type="text" data-bind="value:uv_recordstatus">
							</div>
						</form>
					</div>
					<div class="modal-footer" id="modalFooter">
						<button type="button" class="btn btn-primary" style="font-size: 12px" id="saveBtn" data-bind="click:fnSaveForm">保存</button>
						<button type="button" class="btn btn-default" style="font-size: 12px" data-bind="click:fnCloseDlg">关闭</button>
					</div>
				</div>
				<!-- /.modal-content -->
			</div>
			<!-- /.modal-dialog -->
		</div>
		<!-- /.modal -->
		<script src="../../../assets/jquery/1.11.1/jquery.min.js"></script>
		<script src="../../../assets/jquery/bootbox.min.js"></script>
		<script src="../../../assets/js/core/ajaxSetup.js"></script>
		<script src="../../../assets/jquery/json2.js"></script>
		<script src="../../../assets/jquery/jquery.cookie.js"></script>
		<script src="../../../assets/bootstrap/3.3.7/js/bootstrap.min.js"></script>
		<script src="../../../assets/bootstrap-table/bootstrap-table.min.js"></script>
		<script src="../../../assets/bootstrap-table/locale/bootstrap-table-zh-CN.min.js"></script>
		<script src="../../../assets/theme/ace/js/moment.min.js"></script>
		<!-- 表单验证 -->
		<script src="../../../assets/bootstrap-validator/js/bootstrapValidator.min.js"></script>
		<script src="../../../assets/knockout/knockout.js"></script>
		<!-- 加密引用 -->
		<script src="../../../assets/CryptoJS/rollups/aes.js"></script>
		<script src="../../../assets/sco/js/sco.message.js"></script>
		<script src="../../../assets/CryptoJS/components/mode-ecb.js"></script>
		<!-- 自定义 script -->
		<script src="../../../assets/js/core/platform.common.js"></script>
		<script src="main.js"></script>
	</body>

</html>